๐ก๏ธ Only safe file names like readme.txt
or info.txt
are allowed.
Try to bypass validation and access the hidden flag.txt
.
Path Traversal (a.k.a Directory Traversal) is a vulnerability that allows attackers to access files outside the intended directory by manipulating input paths.
Try inputs like:
../../flag.txt
../secret/flag.txt
../../etc/passwd
(on Linux)chroot
or similar techniques.